package org.simu.loadflow.general;

import org.jgrapht.EdgeFactory;

// Parent class of ACLine and ACTransformer
public class ACBranch implements EdgeFactory<ACBus, ACBranch> {
	
	private String name;	// Name of this AC transformer
	private ACBus startBus;	// Start bus of this AC transformer
	private ACBus endBus;	// End bus of this AC transformer
	private double r;	// Resistance of this AC transformer
	private double x;	// Reactance of this AC transformer
	
	public ACBranch(String name, ACBus startBus, ACBus endBus, double r, double x) {
		super();
		this.name = name;
		this.startBus = startBus;
		this.endBus = endBus;
		this.r = r;
		this.x = x;
	}

	@Override
	public ACBranch createEdge(ACBus sourceVertex, ACBus targetVertex) {
		// TODO Auto-generated method stub
		return null;
	}

}